<template>
    <div>
        <Form :funcDisplay="funcDisplay" :options="options" :url='url' :columns="columns" :formwidth="formwidth"
            :popTit="popTit" :searchTitle="searchTitle"></Form>
    </div>
</template>
<script>
import Form from '@/components/Form/index.vue';
export default {
    name: '',
    components: {
        Form
    },
    mixins: [],
    props: {

    },
    data() {
        return {
            // 类别查询功能是否显示 '01'显示'02隐藏'
            funcDisplay: '02',
            // 类别数据
            options: [],

            searchTitle: '请输入设备编号',
            //   父传子 上报数据
            url: 'data/alarmHistoryData/list',
            columns: [
                { prop: "equipmentNo", label: "设备编号", isShow: true },
                { prop: "timeBcd", label: "采集时间", isShow: true },
                { prop: "ch4", label: "气体浓度", isShow: true },
                { prop: "humidity", label: "湿度(%RH)", isShow: true },
                { prop: "temperature", label: "环境温度(℃)", isShow: true },
                { prop: "csq", label: "信号强度", isShow: true },
                { prop: "powerAlarmLow", label: "电压报警值", isShow: true },
                { prop: "deviceErrorCode", label: "整机故障代码", isShow: true },
                { prop: "sensorErrorCode", label: "传感器故障码", isShow: true },
                { prop: "updateTime", label: "数据更新时间", isShow: true },
                { prop: "uploadTimeHb", label: "上报频率", isShow: true },
                { prop: "captureTime", label: "采集频率", isShow: true },
                { prop: "uploadTime", label: "累计上线次数", isShow: true },
                { prop: "workTime", label: "累计工作时长", isShow: true },
                { prop: "powerVoltage", label: "电源电压", isShow: true },
                { prop: "lightIntensity", label: "传感器光强", isShow: true },
            ],
            formwidth: '180',
            popTit: {
                'title': '',
            }
        }
    },
    computed: {

    },
    watch: {

    },
    mounted() {

    },
    methods: {

    }
};
</script>
<style lang='' scoped>
</style>